﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using AiLuWeb.WebSite.Code;
using System.Web.Security;
using Ajeelee.Core.Utils;

namespace AiLuWeb.WebSite.WebAdmin
{
    public partial class _out : PageBase
    {
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            
            //清除Session
            Session.RemoveAll();

            //注销登陆
            FormsAuthentication.SignOut();

            //跳转至登陆页面
            //FormsAuthentication.RedirectToLoginPage();
            Response.Redirect("login.aspx");
        }
    }
}